package com.market.cart.server.mapper;

import com.market.cart.common.domain.DTOAddr;
import com.market.cart.common.domain.DeliveryAddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>ClassName：AddrMapper</p >
 * <p>Description：</p >
 * <p>Author：liuchang</p >
 * <p>Date：2024/3/9</p >
 */
public interface AddrMapper {
    List<DTOAddr> findAll();

    Integer addAddress(DeliveryAddress deliveryAddress);

    List<DeliveryAddress> findAddrByUserId(@Param("userid") Integer userid);
}
